<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>打卡计划</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#4F46E5',
                        secondary: '#EC4899'
                    },
                    borderRadius: {
                        'none': '0px',
                        'sm': '2px',
                        DEFAULT: '4px',
                        'md': '8px',
                        'lg': '12px',
                        'xl': '16px',
                        '2xl': '20px',
                        '3xl': '24px',
                        'full': '9999px',
                        'button': '4px'
                    }
                }
            }
        }
    </script>
</head>
<body class="bg-gray-50 h-screen">
    <nav class="fixed top-0 w-full bg-white shadow-sm z-50 px-4 py-4">
        <h1 class="text-lg font-medium">打卡计划</h1>
    </nav>

    <main class="pt-16 pb-20 px-4">
        <div class="space-y-4">
            <!-- 天打卡计划 -->
            <div class="bg-white rounded-lg shadow p-4 relative" 
                 onclick="window.location.href='d:\\ideaItem\\myDome\\sign-web\\plan\\ui原型\\plan-detail.html?id=1&type=day'">
                <div class="flex items-center justify-between">
                    <div class="flex items-center space-x-3">
                        <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
                            <i class="fas fa-sun text-blue-500"></i>
                        </div>
                        <div>
                            <h3 class="font-medium">早起打卡</h3>
                            <p class="text-sm text-gray-500">天打卡 · 作息调整</p>
                        </div>
                    </div>
                    <div class="text-sm text-gray-500">5/7 天</div>
                </div>
                <div class="mt-4">
                    <div class="w-full bg-gray-200 rounded-full h-2">
                        <div class="bg-blue-500 h-2 rounded-full" style="width: 71%"></div>
                    </div>
                </div>
                <p class="text-sm text-gray-500 mt-3">连续打卡 <span class="font-bold text-blue-500">7</span> 天</p>
            </div>

            <!-- 次打卡计划 -->
            <div class="bg-white rounded-lg shadow p-4 relative"
                 onclick="window.location.href='d:\\ideaItem\\myDome\\sign-web\\plan\\ui原型\\plan-detail.html?id=2&type=times'">
                <div class="flex items-center justify-between">
                    <div class="flex items-center space-x-3">
                        <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center">
                            <i class="fas fa-dumbbell text-purple-500"></i>
                        </div>
                        <div>
                            <h3 class="font-medium">健身打卡</h3>
                            <p class="text-sm text-gray-500">次打卡 · 运动健康</p>
                        </div>
                    </div>
                    <div class="text-sm text-gray-500">2/3 次</div>
                </div>
                <div class="mt-4">
                    <div class="w-full bg-gray-200 rounded-full h-2">
                        <div class="bg-purple-500 h-2 rounded-full" style="width: 67%"></div>
                    </div>
                </div>
                <p class="text-sm text-gray-500 mt-3">本周剩余 <span class="font-bold text-purple-500">1</span> 次</p>
            </div>

            <!-- 数量打卡计划 -->
            <div class="bg-white rounded-lg shadow p-4 relative"
                 onclick="window.location.href='d:\\ideaItem\\myDome\\sign-web\\plan\\ui原型\\plan-detail.html?id=3&type=num'">
                <div class="flex items-center justify-between">
                    <div class="flex items-center space-x-3">
                        <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center">
                            <i class="fas fa-book text-green-500"></i>
                        </div>
                        <div>
                            <h3 class="font-medium">阅读打卡</h3>
                            <p class="text-sm text-gray-500">数量打卡 · 学习提升</p>
                        </div>
                    </div>
                    <div class="text-sm text-gray-500">120/200 页</div>
                </div>
                <div class="mt-4">
                    <div class="w-full bg-gray-200 rounded-full h-2">
                        <div class="bg-green-500 h-2 rounded-full" style="width: 60%"></div>
                    </div>
                </div>
                <p class="text-sm text-gray-500 mt-3">日均 <span class="font-bold text-green-500">10</span> 页</p>
            </div>
        </div>
    </main>

    <!-- 新建计划按钮 -->
    <button onclick="window.location.href='d:\\ideaItem\\myDome\\sign-web\\plan\\ui原型\\new-plan.html'"
            class="fixed right-4 bottom-20 w-14 h-14 bg-primary text-white rounded-full shadow-lg flex items-center justify-center">
        <i class="fas fa-plus text-xl"></i>
    </button>

    <!-- 底部导航 -->
    <div class="fixed bottom-0 w-full bg-white shadow-lg border-t">
        <div class="grid grid-cols-3 h-16">
            <a href="d:\\ideaItem\\myDome\\sign-web\\plan\\ui原型\\index.html" class="flex flex-col items-center justify-center space-y-1">
                <i class="fas fa-home text-gray-400"></i>
                <span class="text-xs text-gray-400">首页</span>
            </a>
            <a href="d:\\ideaItem\\myDome\\sign-web\\plan\\ui原型\\plans.html" class="flex flex-col items-center justify-center space-y-1">
                <i class="fas fa-calendar-check text-primary"></i>
                <span class="text-xs text-primary">打卡计划</span>
            </a>
            <a href="d:\\ideaItem\\myDome\\sign-web\\plan\\ui原型\\profile.html" class="flex flex-col items-center justify-center space-y-1">
                <i class="fas fa-user text-gray-400"></i>
                <span class="text-xs text-gray-400">我的</span>
            </a>
        </div>
    </div>
</body>
</html>
